package com.info.service;

import com.info.model.Course;
import org.springframework.stereotype.Service;

@Service("courseService")
public class CourseServiceImpl implements CourseService  {

    public Course getCourseById(Integer courseId) {
        Course course = new Course();
        course.setCourseId(courseId);
        course.setName("学习SpringMvc传递参数");
        course.setCourseDesc("这是初级的学习使用攻略，balabala...");
        return course;
    }
}
